import request from '@/utils/request'

export function api(data) {
  return request({
    url: '/api/wechat',
    method: 'post',
    data: data
  })
}

export function apiQueryAndHeader(data, querys, headers) {
  return request({
    url: '/api/wechat?' + querys,
    headers: headers,
    method: 'post',
    data: data
  })
}
